package com.hongdee.scm.inputinvoice.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/5/12.
 * 采购发票明细
 */
@Entity
@Table(name = "T_Scm_Input_Invoice_detail")
public class TScmInvoiceDetail extends BaseEntity {
    /**
     * 发票ID
     */
    @Column(name = "invoice_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '发票ID' ")
    private String invoiceId;
    /**
     * 车辆VIN
     */
    @Column(name = "vin", length=32, columnDefinition = " VARCHAR(32) COMMENT 'vin' ")
    private String vin;

    /**
     * 车辆成本
     */
    @Column(name = "car_price", length=32, columnDefinition = " VARCHAR(32) COMMENT '车辆成本' ")
    private String carPrice;
    /**
     * 暂估成本
     */
    @Column(name = "estimate", length=32, columnDefinition = " VARCHAR(32) COMMENT '暂估成本' ")
    private String estimate;
    /**
     * 车型
     */
    @Column(name = "car_model", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型'")
    private String carModel;
    /**
     * 合格证号
     */
    @Column(name = "certificate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '合格证号'")
    private String certificateNum;
    /**
     * 成本差异
     */
    @Column(name = "cost_difference", length = 32, columnDefinition = "VARCHAR(32) COMMENT '成本差异'")
    private String costDifference;
    //车辆id
    @Column(name = "car_id", length = 50, columnDefinition = "VARCHAR(50) COMMENT '车辆id'")
    private String carId;

    public String getCostDifference() {
        return costDifference;
    }

    public void setCostDifference(String costDifference) {
        this.costDifference = costDifference;
    }

    public String getCertificateNum() {
        return certificateNum;
    }

    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }

    public String getEstimate() {
        return estimate;
    }

    public void setEstimate(String estimate) {
        this.estimate = estimate;
    }

    public String getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCarPrice() {
        return carPrice;
    }

    public void setCarPrice(String carPrice) {
        this.carPrice = carPrice;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }
}
